<?php 
$tmp = range(1,30);
print_r(array_rand($tmp,10));
?>
